package org.wedding.center.entity;

import java.io.Serializable;
import java.util.Date;

import io.swagger.v3.oas.annotations.media.Schema;

import lombok.*;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;


import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import com.baomidou.mybatisplus.annotation.IdType;


/**
 * 微信支付信息表(wedding)实体类
 *
 * @author sky
 * @since 2025-07-17 15:09:01
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ToString
@TableName(value = "wx_pay_info")
public class WxPay implements Serializable {
    private static final long serialVersionUID = 1L;


    @Schema(description = "id")
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    @Schema(description = "订单编号")
    @TableField(value = "order_code")
    private String orderCode;

    /**
     * 支付状态 0：待支付 1：已支付 2：已取消
     */
    @Schema(description = "支付状态")
    @TableField(value = "pay_status")
    private String payStatus;

    @Schema(description = "请求类型")
    @TableField(value = "type")
    private String type;

    @Schema(description = "请求参数")
    @TableField(value = "res_data")
    private String resData;

    @Schema(description = "返回值")
    @TableField(value = "rep_data")
    private String repData;

    @Schema(description = "创建人")
    @TableField(value = "creator")
    private String creator;

    @Schema(description = "创建人")
    @TableField(value = "creator_name")
    private String creatorName;

    @Schema(description = "创建时间")
    @TableField(value = "create_time")
    private String createTime;

    @Schema(description = "修改时间")
    @TableField(value = "update_time")
    private String updateTime;

    @Schema(description = "删除标识")
    @TableField(value = "del_flag")
    private String delFlag;

}
